package com.xiaoran.goods20013.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaoRan
 * @since 2022-02-25
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("xr_goods")
@ApiModel(value = "XrGoods对象", description = "")
public class XrGoods implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "goods_id", type = IdType.AUTO)
    private Long goodsId;

    @ApiModelProperty("名称")
    private String goodsName;

    @ApiModelProperty("价格")
    private Float goodsPrice;

    @ApiModelProperty("分类")
    private Long goodsType;

    @ApiModelProperty("商家id")
    private Long goodsStId;

    @ApiModelProperty("商品图片")
    private String goodsImg;

    @ApiModelProperty("商品描述")
    private String goodsDesc;

    @ApiModelProperty("评分")
    private Float goodsScore;


}
